<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<c:if test="${!readonly}">
    <p>
        <label for="textarea">备注:</label>
        <textarea name="comment" id="textarea" cols="60" rows="10"></textarea>
    </p>
</c:if>
<s:set var="commentList" value="comments"/>
<s:if test="#commentList.size>0">
    <table id="table_liquid" cellspacing="0"  style="width:70%" >
        <tr>
            <th>备注人</th>
            <th>时间</th>
            <th>备注</th>
        </tr>
        <s:iterator value="#commentList">
            <tr>
                <td>${userId}</td>
                <td><fmt:formatDate value="${time}" pattern="yyyy-MM-dd"/></td>
                <td>${message}</td>
            </tr>
        </s:iterator>
    </table>
 </s:if>
<!--end content_block-->
